﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PaymentDueReport.aspx.cs" Inherits="Xyz.Web.Admin.Report.PaymentDueReport" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>Payment Due Report</h2>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
<script type="text/javascript" language="javascript">
    $(function () {
        $("#" + "<%= txt_DueDate.ClientID %>").datepicker({
            dateFormat: 'dd-M-yy',
            changeMonth: true,
            changeYear: true,
            showButtonPanel: false,
            closeText: 'Close',
            showOn: 'both',
            buttonImage: '/Images/calendar.gif',
            buttonImageOnly: true
        });

        $('img.ui-datepicker-trigger').css({ margin: '0px 0px -5px -18px' });
    });

</script>
<fieldset>
<legend>Report Option</legend>
<asp:Literal ID="litMessage" runat="server"></asp:Literal>
<table>
   <tr>
      <td>  
          <asp:Label ID="Label2" runat="server" Text="Due Date : " Width="130px"></asp:Label>
      </td>
      <td>
          <asp:TextBox ID="txt_DueDate" runat="server" Width="180px"></asp:TextBox>
          <asp:RequiredFieldValidator ID="rfv_DueDate" runat="server" 
              ControlToValidate="txt_DueDate" ErrorMessage="Payment Due Date is required." 
              ForeColor="Red">*</asp:RequiredFieldValidator>
      </td>
   </tr>
   <tr>
      <td>  
          <asp:Label ID="Label3" runat="server" Text="First Name (Contain) : "></asp:Label>
      </td>
      <td>
          <asp:TextBox ID="txt_FirstName" runat="server" Width="180px"></asp:TextBox>
      </td>
   </tr>
   <tr>
      <td>  
          <asp:Label ID="Label1" runat="server" Text="Last Name (Contain) : "></asp:Label>
      </td>
      <td>
          <asp:TextBox ID="txt_LastName" runat="server" Width="180px"></asp:TextBox>
      </td>
   </tr>
</table>
</fieldset>
<div>
    <asp:Button ID="btn_Preview" runat="server" Text="  Preview  " onclick="btn_Preview_Click" CssClass="yellow_button" />
</div>
<br />
<div>
    <asp:Label ID="lblNoRecord" runat="server" Visible="False">No record to be found</asp:Label>
    <CR:CrystalReportViewer ID="crv_PaymentDue" runat="server" 
        AutoDataBind="false" ToolPanelView="None" EnableDrillDown="False" 
        EnableParameterPrompt="False" EnableToolTips="False" HasCrystalLogo="False" 
        HasDrilldownTabs="False" HasDrillUpButton="False" 
        HasToggleGroupTreeButton="False" HasToggleParameterPanelButton="False" Width="900px" />
</div>
</asp:Content>
